package blue.qingyu.whimurmur.messageEx.model.base;

import java.util.Date;

import com.jfinal.plugin.activerecord.IBean;

import io.jboot.db.model.JbootModel;

@SuppressWarnings("serial")
public class WMBasePostClass<M extends WMBasePostClass<M>> extends JbootModel<M> implements IBean {
	/**
     * 主键ID
     */
	public void setId(Integer id) {
		set("id", id);
	}

    /**
     * 主键ID
     */
	public Integer getId() {
		return getInt("id");
	}
	
	public void setPostClassName(String postClassName) {
		set("post_class_name", postClassName);
	}
	
	public String getPostClassName() {
		return getStr("post_class_name");
	}
	
	/**
     * 修改日期
     */
	public void setUpdated(Date updated) {
		set("updated", updated);
	}

    /**
     * 修改日期
     */
	public Date getUpdated() {
		return get("updated");
	}
	
	/**
     * 创建日期
     */
	public void setCreated(Date created) {
		set("created", created);
	}

    /**
     * 创建日期
     */
	public Date getCreated() {
		return get("created");
	}
}
